package com.weixing.mall.provider.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.weixing.mall.provider.model.domain.MemberPoint;
import com.weixing.mall.provider.model.query.MemberPointQuery;
import com.weixing.mall.provider.model.query.MemberQuery;
import com.weixing.mall.provider.model.vo.MemberPointVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 会员积分模块 Mapper 接口
 * </p>
 *selectOfPage
 * @author Small
 * @since 2020-04-13
 */
public interface MemberPointMapper extends BaseMapper<MemberPoint> {
    IPage<MemberPointVo> selectOfPage(@Param("pg") Page page, @Param("qs") MemberPointQuery memberPointQuery);

    IPage<MemberPointVo> selectMemberOfPage(@Param("pg") Page page, @Param("memberId") Long memberId);
}
